[IA64] Fix populate-on-demand stub.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 2 Feb 2009 02:11:36 +0000 (11:11 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 2 Feb 2009 02:11:36 +0000 (11:11 +0900)
A return value of 1 is meant to inform decrease_reservation() that
everything has been taken care of by the PoD code and it doesn't need
to call guest_remove_page().

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/arch/ia64/xen/mm.c

index 1543eecce0a8f09da4a31e951520cdf6449a7033..0b7c4a2aac498670d82c22fe989e76e4bf242812 100644 (file)
@@ -3484,7 +3484,7 @@ p2m_pod_decrease_reservation(struct domain *d, xen_pfn_t gpfn,
                              unsigned int order)
 {
     gdprintk(XENLOG_WARNING, "populate on demand isn't supported yet\n");
-    return 1;
+    return 0;
 }
 
 /*